const res = { a: 1, b: 2, [Symbol('1')]: 1, };

Object.defineProperty(res, 'b', {
    value: 2, writable: true, enumerable: false, configurable: false
});

console.log(Object.keys(res));

console.log(res.b);

res.b = 1

console.log(res.b);